package edu.hpu.repository;

import edu.hpu.domain.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @Author 三分恶
 * @Date 2020/1/11
 * @Description
 */
public interface UserRepository extends MongoRepository<User,Long> {
    User findByUserName(String userName);
    Page<User> findAll(Pageable var1);
}
